//package com.convenient.excel.generate.process;
//
//import com.convenient.excel.generate.properties.ExcelAbstractSheetProperties;
//import com.convenient.excel.generate.properties.ExcelFieldProperties;
//import com.convenient.excel.generate.properties.ExcelRowConfProperties;
//import org.apache.poi.ss.usermodel.*;
//
//
//public class WydExcelValueProcessImpl extends ExcelCommonProcess implements WydExcelCellValueProcess {
//    private WydExcelCellFontProcess cellFontProcess = new WydExcelCellFontProcessImpl();
//    private WydExcelCellColorProcess cellColorProcess = new WydExcelCellColorProcessImpl();
//    private WydExcelCellBaseProcess baseProcess = new WydExcelCellBaseProcessImpl();
//    private WydExcelCellLinkerProcess linkerProcess = new WydExcelCellLinkerProcessImpl();
//    private WydExcelCellFormatProcess formatProcess = new WydExcelCellFormatProcessImpl();
//    private WydExcelCellMergeProcess mergeProcess = new WydExcelCellMergeProcessImpl();
//    private WydExcelSheetProcess sheetProcess = new DefaultWydExcelXSSFSheetProcess();
//
//    @Override
//    public ExcelAbstractSheetProperties importProcess(ExcelRowConfProperties rowConfDTO, ExcelAbstractSheetProperties excelAbstract, boolean isBody, boolean isDefault) {
//        return null;
//    }
//
//
//    @Override
//    public Cell exportProcess(Row row, ExcelFieldProperties fieldDTO, Cell cell, boolean isBody) {
//
////        CellStyle defaultCellStyle = createCellStyle(fieldDTO.getExcelFieldName());
//        //设置默认的样式
////        cell.setCellStyle(defaultCellStyle);
////         如果是默认的则不处理了，因为已经处理过了。
//
////        CellStyle cellStyle = cell.getCellStyle();
////        if (null != fieldDTO.getFont()) {
////            cellStyle.setFont(getFont());
////        }
//
////        cell.setCellValue(fieldDTO.getValue());//设置cell值
////        if (null != fieldDTO.getExcelCellStyle()) {
////            CellStyle cellStyleForCell = createCellStyle(fieldDTO.getExcelFieldName());
////            //设置自定义的样式
////            cell.setCellStyle(cellStyleForCell);
////        }
////        sheet.setColumnWidth(fieldDTO.getExcelStartCellIndex(), fieldDTO.getColumnWidth());
//        //此处处理逻辑
////        CellStyle cellStyle = getCellStyle(fieldDTO.getExcelFieldName(),isBody);
////        //1.字体处理
////        cellFontProcess.fontProcess(row, cell, null, fieldDTO);
////        //2.颜色处理
////        cellColorProcess.colorProcess(row, cell, null, fieldDTO);
////        //3.基本设置
////        baseProcess.baseProcess(row, cell,cellStyle, fieldDTO);
////        //4.超链接处理
////        linkerProcess.linkerProcess(row, cell, null, fieldDTO);
////        //5.格式化处理
////        formatProcess.formatProcess(row, cell, null, fieldDTO);
//        //6.合并单元格
////        mergeProcess.mergeProcess(row, cell, body.getMerges(), fieldDTO, sheet);
//        return cell;
//    }
//
//}
